# -*- coding: utf-8 -*-
"""
运行
"""

import os
from DataCase.excel_conf import conf

if __name__ == '__main__':

    os.system('rd /s/q result')
    os.system('rd /s/q reports')

    # # web用例数据
    case_file = './lib/ExcelFile/shopxo项目用例.xlsx'

    # 接口用例数据
    # case_file = './lib/ExcelFile/HTTP接口用例.xlsx'
    conf.runCase(case_file)

    os.system('allure generate ./result -o ./reports --clean')